Skip to content

Remove the package access modifier and update the store's interface#101

Merged
DevYeom merged 1 commit intomainfrom
patch
Sep 28, 2024
Merged

Remove the package access modifier and update the store's interface#101
DevYeom merged 1 commit intomainfrom
patch

Conversation

@DevYeom
Copy link
Owner

@DevYeom DevYeom commented Sep 28, 2024

Related Issues 💭

Description 📝

  • Made the isIdle property of Store public.
  • The expect function is only supported in Store.
  • Updated the Testing documentation.

Additional Notes 📚

let sut = Store(
    reducer: TestReducer(),
    state: TestReducer.State(count: 0)
)
await sut.send(.increment)
await sut.expect(\.count, 1)

Checklist ✅

  • If it's a new feature, have appropriate unit tests been added?
  • If the changes affect existing functionality, please verify whether the above information has been appropriately described.

@DevYeom DevYeom self-assigned this Sep 28, 2024
@DevYeom DevYeom merged commit f495cd5 into main Sep 28, 2024
@DevYeom DevYeom deleted the patch branch September 28, 2024 01:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant